package org.bluesky.framework.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.bluesky.framework.ResponseResult;
import org.bluesky.framework.dto.TagListDto;
import org.bluesky.framework.entity.Tag;
import org.bluesky.framework.vo.PageVo;
import org.bluesky.framework.vo.TagVo;


/**
 * 标签(Tag)表服务接口
 *
 * @author makejava
 * @since 2023-02-20 19:01:01
 */
public interface TagService extends IService<Tag> {

    ResponseResult<PageVo> pageTageList(Integer pageNum, Integer pageSize, TagListDto tagListDto);

    ResponseResult addTag(Tag tag);

    ResponseResult deleteTagById(Long id);

    ResponseResult getTagById(Long id);

    ResponseResult updateTagById(TagVo tagVo);

    ResponseResult listAllTag();
}

